package models

import "time"

type ChannelRecord struct {
	Id          uint64    `gorm:"primaryKey;autoIncrement" json:"id"`
	ChannelId   string    `gorm:"default:0" json:"channelId"`
	IP          string    `gorm:"size:16" json:"ip"`
	Pages       string    `gorm:"size:255" json:"pages"`
	CreatedTime time.Time `gorm:"type:varchar(255)" json:"created_time"`
	UA          string    `gorm:"type:varchar(255)" json:"UA"`
	Address     string    `json:"Address"`
	Model       string    `json:"model"`
	PageName    string    `json:"pageName"`
}

func (ChannelRecord) TableName() string {
	return "fa_channel_record"
}
